package model

// 结构体定义
type Prediction struct {
	ID              uint   `gorm:"primaryKey;autoIncrement"`
	Expect          string `json:"expect"`
	OpenSpecialCode string `json:"openSpecialCode"`
	Opentime        string `json:"opentime"`
	Zodiac          string `json:"zodiac"`
	Info            string `json:"info"`
	Ptype           int8   `json:"ptype"`
	Opencode        string `json:"opencode"`
	Win             int8   `json:"win"`
}

func (Prediction) TableName() string {
	return "prediction"
}
